package com.zzyl.mapper;

import com.zzyl.entity.NursingProjectPlan;
import com.zzyl.vo.NursingProjectPlanVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 12531
 * @description 针对表【nursing_project_plan(护理计划和项目关联表)】的数据库操作Mapper
 * @createDate 2024-07-18 17:09:38
 * @Entity com.zzyl.entity.NursingProjectPlan
 */
@Mapper
public interface NursingProjectPlanMapper {

    int deleteByPrimaryKey(Long id);

    int insert(NursingProjectPlan record);

    int insertSelective(NursingProjectPlan record);

    NursingProjectPlan selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(NursingProjectPlan record);

    int updateByPrimaryKey(NursingProjectPlan record);

    NursingProjectPlan selectByProjectId(Long projectId);

    List<NursingProjectPlanVo> selectByPlanId(Long id);

}
